package com.qxzn.app.bean;

import java.util.ArrayList;
import java.util.List;

public class AddMedicineRemindBean {

    /**
     * username : hsq3
     * title : 文本感冒药提醒
     * type : 2
     * ringtone :
     * medicinetime : 8:00,12:00
     * typevalue :
     * state : 1
     * list : [{"drugname":"999感冒灵","number":"2"}]
     */

    private String id;//编辑时的数据id
    private String deleid;//编辑时删除的药品id集合，逗号隔开
    private String device_id;
    private String username;
    private String title;
    private String type;
    private String ringtone;
    private String ringtonestate;//是否删除原有的ringtone，1是修改 2删除
    private String medicinetime;
    private String typevalue;
    private String state;
    private List<ListBean> list = new ArrayList<>();

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRingtone() {
        return ringtone;
    }

    public void setRingtone(String ringtone) {
        this.ringtone = ringtone;
    }

    public String getMedicinetime() {
        return medicinetime;
    }

    public void setMedicinetime(String medicinetime) {
        this.medicinetime = medicinetime;
    }

    public String getTypevalue() {
        return typevalue;
    }

    public void setTypevalue(String typevalue) {
        this.typevalue = typevalue;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public String getDevice_id() {
        return device_id;
    }

    public void setDevice_id(String device_id) {
        this.device_id = device_id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeleid() {
        return deleid;
    }

    public void setDeleid(String deleid) {
        this.deleid = deleid;
    }

    public String getRingtonestate() {
        return ringtonestate;
    }

    public void setRingtonestate(String ringtonestate) {
        this.ringtonestate = ringtonestate;
    }

    public static class ListBean {
        /**
         * drugname : 999感冒灵
         * number : 2
         */

        private String id;//编辑时的药品id
        private String drugname;
        private String number;
        private String img;//图片文件的key

        public String getDrugname() {
            return drugname;
        }

        public void setDrugname(String drugname) {
            this.drugname = drugname;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }
}
